package com.embhealth.service;

import com.embhealth.entity.PageResult;
import com.embhealth.entity.QueryPageBean;
import com.embhealth.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserService {
    public User findByUsername(String username);
    public void add(Integer id,User user);
    public PageResult findAllUser(QueryPageBean queryPageBean);
    public Map<String,Object> findById(Integer id);
    public void editUser(Integer rid,Map<String,Object> map);
    public void delete(Integer id);
}
